﻿using JustMetClient.Socket.Models;
using System;
using System.Net;
using System.Net.Sockets;

namespace JustMetClient.Socket.Models
{
    /// <summary>
    /// 通信事件
    /// </summary>
    public class SocketStatusArgs : EventArgs
    {
        public SocketStatusArgs(SocketStatus status, string ip)
        {
            Status = status;
            Time = DateTime.Now;
            LocalIP = ip;
        }
        public SocketStatus Status { get; set; }
        public string LocalIP { get; set; }
        public DateTime Time { get; set; }
    }
}
